package com.ssy.lingxi.platform.manage;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@EnableAsync
@EnableSwagger2
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = {"com.ssy.lingxi"})
@EntityScan(basePackages = "com.ssy.lingxi.platform.manage.entity")
@EnableFeignClients(basePackages = {"com.ssy.lingxi.**.api"})
public class PlatformManageServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(PlatformManageServiceApplication.class, args);
    }

}
